home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…tion Library 2 (Reseller)
/
Apple R&P Lib Reseller v2.0.iso
/
3-Demos
/
Tutorials
/
Guided Tour Mac II
/
D2
/
D2.rsrc
/
TEXT_1153.txt
< prev
next >
Wrap
Text File
|
1988-03-04
|
270b
|
11 lines
#macro to detect icon drag
SET &H = MOUSEH
SET &V = MOUSEV
IF NOT STILLDOWN THEN EXIT
IF ABS(MOUSEH-&H) > 3 THEN SKIP 3
IF ABS(MOUSEV-&V) > 3 THEN SKIP 2
SKIP -3
SET SPRITEID[11] = F35
SET SPRITEH[11] = MOUSEH
SET SPRITEV[11] = MOUSEV
WHEN MOUSEUP THEN CALL C14ˇÓ